-- GENERATED SPELL FOR [Greater Thunderhawk] --


function spell0_3249(pUnit, Event) --@Thunderclap,Self--
pUnit:FullCastSpellOnTarget(8078,pUnit)
pUnit:RegisterEvent('Sorts_3249', 10255, 1)
end

function Sorts_3249(pUnit, Event)
local choix_sorts_3249 = math.random(0, 0)
if choix_sorts_3249 == 0 then
pUnit:RegisterEvent('spell0_3249', 1, 1)
end
end

function mob3249_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_3249', math.random(1500, 3000), 1)
end

function mob3249_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3249_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3249_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(3249, 1, 'mob3249_Action')
RegisterUnitEvent(3249, 2, 'mob3249_Leave')
RegisterUnitEvent(3249, 3, 'mob3249_Kill')
RegisterUnitEvent(3249, 4, 'mob3249_Die')
